package com.zhousb.file_retrieval_server.service;


import com.zhousb.file_retrieval_server.domain.bo.RolePermissionBo;
import com.zhousb.file_retrieval_server.domain.entity.SysRole;

import java.util.List;

/**
 * @author ZhouShenBin
 * @date 2023/12/18 10:15
 * @description
 */

public interface SysRoleService {

    List<SysRole> list();

    boolean create(SysRole sysRole);

    boolean delete(Long id);

    List<Long> listPermission(String roleId);

    boolean permission(RolePermissionBo bo);

}
